/**
 * 
 */
package com.gametime.util;

import java.util.Random;

/**
 * @author dave
 *
 */
public class ComUtils {

	public static String formatHeight(int hgt)
	{
		int _a = hgt / 12;
		int _b = hgt % 12;
		return _a + "-"  +_b;
		
	}
	
	public static int getRandomInt(int min, int max)
	{
		return new Random().nextInt(max - min + 1) + min;
	}
	
	public static void main(String[] args)
	{
		LogUtil.trace("" + getRandomInt(1, 3));
		LogUtil.trace("" + getRandomInt(1, 3));
		LogUtil.trace("" + getRandomInt(1, 3));
		LogUtil.trace("" + getRandomInt(1, 3));
		LogUtil.trace("" + getRandomInt(1, 3));
		LogUtil.trace("" + getRandomInt(1, 3));
		LogUtil.trace("" + getRandomInt(1, 3));
	}
}
